<template>
  <div class="video-monitor">
    <h2>视频监控</h2>
    <video controls autoplay>
      <source src="/public/video.mp4" type="video/mp4" />
      您的浏览器不支持视频播放。
    </video>
  </div>
</template>

<script>
export default {
  name: 'VideoMonitor',
}
</script>

<style scoped>
.video-monitor {
  text-align: center;
  margin: 20px;
}
video {
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
}
</style>
